package com.study.juc;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @author study
 * @version 1.0
 * @date 2020/9/20 21:13
 */
public class PoolDemo {
    public static void main(String[] args) {
        ExecutorService pool = Executors.newFixedThreadPool(5);


        pool.submit(new Thread(() -> {
           // System.out.println(String.join(",", new String[]{"A", "C", "B"}));
        }));

        pool.shutdown();
    }
}
